﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CronusData" targetNamespace="http://tempuri.org/CronusData.xsd" xmlns:mstns="http://tempuri.org/CronusData.xsd" xmlns="http://tempuri.org/CronusData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CronusData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="CronusData" msprop:Generator_UserDSName="CronusData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowClassName="ProjectsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="Name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" default="" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Tasks" msprop:Generator_TableClassName="TasksDataTable" msprop:Generator_TableVarName="tableTasks" msprop:Generator_TablePropName="Tasks" msprop:Generator_RowDeletingName="TasksRowDeleting" msprop:Generator_UserTableName="Tasks" msprop:Generator_RowChangingName="TasksRowChanging" msprop:Generator_RowEvHandlerName="TasksRowChangeEventHandler" msprop:Generator_RowDeletedName="TasksRowDeleted" msprop:Generator_RowEvArgName="TasksRowChangeEvent" msprop:Generator_RowChangedName="TasksRowChanged" msprop:Generator_RowClassName="TasksRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="ProjectsID" msprop:Generator_ColumnVarNameInTable="columnProjectsID" msprop:Generator_ColumnPropNameInRow="ProjectsID" msprop:Generator_ColumnPropNameInTable="ProjectsIDColumn" msprop:Generator_UserColumnName="ProjectsID" type="xs:int" minOccurs="0" />
              <xs:element name="Name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" default="" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Activities" msprop:Generator_TableClassName="ActivitiesDataTable" msprop:Generator_TableVarName="tableActivities" msprop:Generator_TablePropName="Activities" msprop:Generator_RowDeletingName="ActivitiesRowDeleting" msprop:Generator_UserTableName="Activities" msprop:Generator_RowChangingName="ActivitiesRowChanging" msprop:Generator_RowEvHandlerName="ActivitiesRowChangeEventHandler" msprop:Generator_RowDeletedName="ActivitiesRowDeleted" msprop:Generator_RowEvArgName="ActivitiesRowChangeEvent" msprop:Generator_RowChangedName="ActivitiesRowChanged" msprop:Generator_RowClassName="ActivitiesRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="TasksID" msprop:Generator_ColumnVarNameInTable="columnTasksID" msprop:Generator_ColumnPropNameInRow="TasksID" msprop:Generator_ColumnPropNameInTable="TasksIDColumn" msprop:Generator_UserColumnName="TasksID" type="xs:int" minOccurs="0" />
              <xs:element name="StartTime" msprop:Generator_ColumnVarNameInTable="columnStartTime" msprop:Generator_ColumnPropNameInRow="StartTime" msprop:Generator_ColumnPropNameInTable="StartTimeColumn" msprop:Generator_UserColumnName="StartTime" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndTime" msprop:Generator_ColumnVarNameInTable="columnEndTime" msprop:Generator_ColumnPropNameInRow="EndTime" msprop:Generator_ColumnPropNameInTable="EndTimeColumn" msprop:Generator_UserColumnName="EndTime" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Duration" msdata:ReadOnly="true" msdata:Expression="EndTime-StartTime" msprop:Generator_ColumnVarNameInTable="columnDuration" msprop:Generator_ColumnPropNameInRow="Duration" msprop:Generator_ColumnPropNameInTable="DurationColumn" msprop:Generator_UserColumnName="Duration" type="xs:duration" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1">
      <xs:selector xpath=".//mstns:Projects" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Tasks_Constraint1" msdata:ConstraintName="Constraint1">
      <xs:selector xpath=".//mstns:Tasks" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:keyref name="FK_Tasks_Activities" refer="Tasks_Constraint1" msprop:rel_Generator_UserChildTable="Activities" msprop:rel_Generator_ChildPropName="GetActivitiesRows" msprop:rel_Generator_ParentPropName="TasksRow" msprop:rel_Generator_UserRelationName="FK_Tasks_Activities" msprop:rel_Generator_RelationVarName="relationFK_Tasks_Activities" msprop:rel_Generator_UserParentTable="Tasks">
      <xs:selector xpath=".//mstns:Activities" />
      <xs:field xpath="mstns:TasksID" />
    </xs:keyref>
    <xs:keyref name="FK_Projects_Tasks" refer="Constraint1" msprop:rel_Generator_UserChildTable="Tasks" msprop:rel_Generator_ChildPropName="GetTasksRows" msprop:rel_Generator_ParentPropName="ProjectsRow" msprop:rel_Generator_UserRelationName="FK_Projects_Tasks" msprop:rel_Generator_RelationVarName="relationFK_Projects_Tasks" msprop:rel_Generator_UserParentTable="Projects">
      <xs:selector xpath=".//mstns:Tasks" />
      <xs:field xpath="mstns:ProjectsID" />
    </xs:keyref>
  </xs:element>
</xs:schema>